import request from '@/utils/request'

// 轮播图 数据
export function getCarouselImgList() {
    return request({
        url: '/user/getCarouselImgList',
        method: 'post',
    })
}
// 尾部数据
export function get_tailData() {
    return request({
        url: '/get_tailData',
        method: 'post',
    })
}
// 服装保养洗涤数据
export function curingList(query) {
    return request({
        url: '/admin/curingList',
        method: 'post',
        data: query,
    })
}
// 多肉数据数据
export function meatyList(query) {
    return request({
        url: '/admin/meatyList',
        method: 'post',
        data: query,
    })
}
// 女性服装数据
export function galleryList(query) {
    return request({
        url: '/admin/galleryList',
        method: 'post',
        data: query,
    })
}
// 新闻资讯数据
export function informationList(query) {
    return request({
        url: '/admin/informationList',
        method: 'post',
        data: query,
    })
}
// 土壤知识数据
export function soilList(query) {
    return request({
        url: '/admin/soilList',
        method: 'post',
        data: query,
    })
}
// 女性服装分类
export function optionGalleryList() {
    return request({
        url: '/admin/optionGalleryList',
        method: 'post',
    })
}
// 多肉数据分类
export function optionMeatyList() {
    return request({
        url: '/admin/optionMeatyList',
        method: 'post',
    })
}
// 女性服装数据Collect排列
export function galleryListCollect(query) {
    return request({
        url: '/admin/galleryListCollect',
        method: 'post',
        data: query,
    })
}
// 女性服装数据详情 增加浏览量
export function galleryAddViews(query) {
    return request({
        url: '/admin/galleryAddViews',
        method: 'post',
        data: query,
    })
}
// 内容详情 增加浏览量
export function detailsAddViews(query) {
    return request({
        url: '/detailsAddViews',
        method: 'post',
        data: query,
    })
}
// 判断收藏 增加收藏量
export function galleryAddSave(query) {
    return request({
        url: '/galleryAddSave',
        method: 'post',
        data: query,
    })
}
// 判断有没有收藏
export function isGalleryAddSave(query) {
    return request({
        url: '/isGalleryAddSave',
        method: 'post',
        data: query,
    })
}
// 取消收藏
export function galleryCancelSave(query) {
    return request({
        url: '/galleryCancelSave',
        method: 'post',
        data: query,
    })
}
// 获得女性服装收藏数据

export function galleryListSave(query) {
    return request({
        url: '/galleryListSave',
        method: 'post',
        data: query,
    })
}
// 判断收藏 增加收藏量
export function meatyAddSave(query) {
    return request({
        url: '/meatyAddSave',
        method: 'post',
        data: query,
    })
}
// 判断有没有收藏
export function isMeatyAddSave(query) {
    return request({
        url: '/isMeatyAddSave',
        method: 'post',
        data: query,
    })
}
// 取消收藏
export function meatyCancelSave(query) {
    return request({
        url: '/meatyCancelSave',
        method: 'post',
        data: query,
    })
}
// 获得多肉数据收藏数据

export function meatyListSave(query) {
    return request({
        url: '/meatyListSave',
        method: 'post',
        data: query,
    })
}
// 修改用户信息
export function up_User(query) {
    return request({
        url: '/admin/up_User',
        method: 'post',
        data: query,
    })
}
export function getLatLngNameId(query) {
    return request({
        url: '/getLatLngNameId',
        method: 'post',
        data: query,
    })
}
export function getLatLngNameIdMeaty(query) {
    return request({
        url: '/getLatLngNameIdMeaty',
        method: 'post',
        data: query,
    })
}